<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<html>
	<head>
		<title>KIDGAMES</title>
		<?php
			echo $this->Html->charset();
			echo $this->Html->css(array('topo', 'geral'));
			echo $this->Html->script(array('jquery-1.7.1.min', 'jquery-ui-1.8.13.custom.min', 'jquery.meio.mask', 'jquery.ui.datepicker-pt-BR'));
		?>
		<style>
			div.error-message {
				color: #f00;
			}
		</style>
	</head>
	<body>
		<div id='geral'>
		
			<div id='linha'>&nbsp;</div>
			<div id='logo'><img src='../img/logo.jpg' alt='Kid Games Logo' /></div>
			
			<div id='dados'>
				<p><b>Bem-vindo:</b> <span><?php echo $this->Session->read('nome'); ?></span></p>
				<p><b>Local:</b> <span><?php echo $this->Session->read('local'); ?></span></p>
			</div>
			
			
			<div id='login'>
				<p align="right">
					<a href='../usuarios/logout'>SAIR</a>
				</p>
				<p align="right">
					<a href='../menu/'>MENU</a> || Alterar: 
					<a href='../usuarios/alterarLocal'>Local</a> / 
					<a href='../usuarios/alterarSenha'>Senha</a>
				 </p>
			</div>
			
			<div id='titulo'>
				<p align="center">TÍTULO DA PAGINA</p>
			</div>
			<div id="inicial">
				<?php echo $content_for_layout; ?>
			</div>
		
		</div>
		<?php echo $this->Js->writeBuffer(); ?>
	</body>
</html>